<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script src="js/jquery-3.3.1.min.js"></script>
</head>
<body>
    <input type="button" value="按钮" id="button_id">
    <script type="text/javascript">
        $buttonEle = $('#button_id');
        $buttonEle.click(function () {
            alert('按钮被点击了')
        });
    </script>
</body>
</html>